package com.ssh.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * DLicence entity. @author MyEclipse Persistence Tools
 */

public class DLicence implements java.io.Serializable {

	// Fields

	private String dlicenceId;
	private String name;
	private Date birthday;
	private String sex;
	private String address;
	private String class_;
	private String nationality;
	private Date validFrom;
	private Short validFor;
	private Date issueDate;
	private Set fcarApllies = new HashSet(0);
	private Set innerDrivers = new HashSet(0);
	private Set fcarDrivers = new HashSet(0);

	// Constructors

	/** default constructor */
	public DLicence() {
	}

	/** full constructor */
	public DLicence(String name, Date birthday, String sex, String address,
			String class_, String nationality, Date validFrom, Short validFor,
			Date issueDate, Set fcarApllies, Set innerDrivers, Set fcarDrivers) {
		this.name = name;
		this.birthday = birthday;
		this.sex = sex;
		this.address = address;
		this.class_ = class_;
		this.nationality = nationality;
		this.validFrom = validFrom;
		this.validFor = validFor;
		this.issueDate = issueDate;
		this.fcarApllies = fcarApllies;
		this.innerDrivers = innerDrivers;
		this.fcarDrivers = fcarDrivers;
	}

	// Property accessors

	public String getDlicenceId() {
		return this.dlicenceId;
	}

	public void setDlicenceId(String dlicenceId) {
		this.dlicenceId = dlicenceId;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getClass_() {
		return this.class_;
	}

	public void setClass_(String class_) {
		this.class_ = class_;
	}

	public String getNationality() {
		return this.nationality;
	}

	public void setNationality(String nationality) {
		this.nationality = nationality;
	}

	public Date getValidFrom() {
		return this.validFrom;
	}

	public void setValidFrom(Date validFrom) {
		this.validFrom = validFrom;
	}

	public Short getValidFor() {
		return this.validFor;
	}

	public void setValidFor(Short validFor) {
		this.validFor = validFor;
	}

	public Date getIssueDate() {
		return this.issueDate;
	}

	public void setIssueDate(Date issueDate) {
		this.issueDate = issueDate;
	}

	public Set getFcarApllies() {
		return this.fcarApllies;
	}

	public void setFcarApllies(Set fcarApllies) {
		this.fcarApllies = fcarApllies;
	}

	public Set getInnerDrivers() {
		return this.innerDrivers;
	}

	public void setInnerDrivers(Set innerDrivers) {
		this.innerDrivers = innerDrivers;
	}

	public Set getFcarDrivers() {
		return this.fcarDrivers;
	}

	public void setFcarDrivers(Set fcarDrivers) {
		this.fcarDrivers = fcarDrivers;
	}

}